Method and apparatus for creating data carousels

ABSTRACT

A method and apparatus for creating data carousels including representing an object carousel in XML according to a predefined XML schema, analysing the XML representation of the object carousel with regard to technical standards for data carousels and broadcast systems, creating a representation of a data carousel in XML according to a predefined XML schema and based on the step of analysing and providing data to a carousel according to the XML representation of the data carousel.

BACKGROUND OF THE INVENTION

[0001] 1. Field of the Invention

[0002] The present invention relates to a method and apparatus for creating data carousels, in particular providing a user who has a particular file structure in mind with an easy mechanism by which to create and optimise appropriate data carousels.

[0003] 2. Description of the Related Art

[0004] A data carousel may be created by developing new data or editing existing data.

[0005] For instance as part of a DVB compliant system, it is known to provide an information server for broadcasting any form of data, such as MHEG5 applications, HTML pages, Java applications, IRD software upgrades and other data services in the form of DSMCC objects on data carousels. An IRD is an Integrated Receiver Decoder and this term is used in standards documents to describe devices capable of receiving and decoding digital streams, eg. set top boxes and integrated digital TV sets.

[0006] Raw data may be divided into appropriate DSI (Download Server Initiate), DII (Download Information Indication) or DDB (Download Data Block) sections for insertion into MPEG transport stream packets as a data carousel. These are three types of messages defined in DSM-CC that carry the structure of a data carousel in the broadcast stream. In fact, DSI, DII and DDB are “messages” but “DSI section” is used to describe a MPEG section carrying a DSI message. Sections are split into packets, the lowest level structure in the stream. A data carousel is the collection of DSI, DII and DDB messages.

[0007] Alternatively, however, a user may determine a desired file structure for an object carousel consisting of files, directories and other object types. In DSM-CC there are five object types in an object carousel, namely Files, Directories, a Service Gateway, Streams and StreamEvents. These can all exist in the hierarchical structure that is like a filesystem. It is then a non trivial matter to rearrange the data of the object carousel into DSI, DII and DDB sections in an optimised manner for broadcast as a data carousel. There are many possible data carousel structures that can represent a given object carousel. It is desirable to choose an optimal data carousel that will be most effective by using knowledge of the intended use for the files in the object carousel and knowledge of the receiving equipment, but some experimentation is required to achieve this optimisation. Each time the user wishes to make alterations to the file structure on which the object carousel is based, it is necessary to reconsider entirely the structure of the corresponding data carousel.

OBJECTS OF THE INVENTION

[0008] It is an object of the present invention to provide a method and apparatus by which a user can easily create data carousels corresponding to desired file structures or object carousels. Furthermore, it is an object to provide a system whereby a user may more easily optimise data for use with a data carousel.

SUMMARY OF THE INVENTION

[0009] According to the present invention, there is provided a method of creating data carousels including representing an object carousel in a structured data format, analysing the structured data format representation of the object carousel for compatibility with at least one predetermined technical standard, creating a representation of a data carousel in the structured data format based on the step of analysing and providing output data to a carousel according to the structured data format representation of the data carousel.

[0010] According to the present invention, there is also provided an apparatus for creating data carousels, including a memory containing a data format definition for representing object carousels in a structured data format, a memory containing a data format definition for representing data carousels in the structured data format, a GUI by which a user may create a representation of an object carousel in the structured data format, a processor for analysing the structured data format representation of the object carousel for compatibility with at least one predetermined technical standard and for creating, on the basis of the analysis, a representation in the structured data format of a data carousel according to the data format definition for the structured data format representing data carousels.

[0011] In this way, by defining the required object carousel as a structured data format representation, it is possible to provide a predetermined algorithm in any appropriate processing language to automatically form a structured data format representation of an equivalent data carousel. Furthermore, compared to previous binary representations of the data carousel, the structured data format representation allows a user relatively easily to understand the structure of the data carousel. This allows the user to edit the resulting data carousel and to optimise it with regard to its use in providing an output byte stream suitable for broadcast.

[0012] In order to allow conversion from the object carousel structured data format representation to the data carousel structured data format representation, the two structured data format representations should follow predetermined formats. Hence, respective data format definitions may be defined for the structured data format representing object carousels and the structured data format representing data carousels.

[0013] Once provided with the data format definition for the structured data format representing object carousels, a user may construct a desired data structure in the structured data format for the object carousel. This may then be converted automatically to structured data conforming to the data format definition for the structured data format representing data carousels. With the data format definition for structured data representing data carousels, the user may then edit the structured data representation of the data carousel so as to optimise it.

[0014] In this respect, the apparatus may be provided with a GUI allowing a user to edit the structured data format representation of the data carousel so as to optimise the arrangement of the data for use as part of a carousel.

[0015] Having prepared an appropriate data carousel with the structured data format representation, an output stream may be provided to a carousel. Hence, the apparatus preferably includes an output processor for providing data to a carousel according to the structured data format representation of the data carousel.

[0016] It will be understood that the data carousel represented by the structured data format representation must conform to the appropriate technical standards for the system in which the data carousel is to be broadcast.

[0017] The specific examples described below are based on several standards documents published by various international organisations.

[0018] ISO publish the MPEG-2 family of standards of which part 1 (Systems) defines transport streams, packets, sections and multiplexing and part 6 (DSM-CC) defines underlying object and data carousel structures.

[0019] There are other standards which govern individual digital TV systems such as MHEG-5 (published by ISO) and MHP (published by DVB). They mainly define how the receiving equipment operates but they also refer to the MPEG standards and define further refinements and constraints on the stream structures that are generated.

[0020] Hence, the technical standards include appropriate standards for carousels and broadcast systems. Preferably, they include DSM-CC standards and relevant standards for broadcast systems.

[0021] Preferably, the structured data format is XML such that the data format definitions are XML schemas.

[0022] As mentioned above, conversion from the XML representation of the object carousel to the XML representation of the data carousel can be conducted in any appropriate manner as a data transformation. However, it is particularly advantageous to use an XSLT algorithm to carry out this conversion, since this is particularly well suited. The XSLT language allows convenient interpretation and manipulation of data in XML format.

[0023] It should be noted that converting the XML representation of the object carousel with an XSLT algorithm is not straightforward, since the XSLT algorithm will require knowledge of the sizes of the files of the object carousel in order to create the appropriate XML representation of the data carousel. Hence, preferably, the sizes of the files of the object carousel are determined and provided in XML as a look-up table such that the XSLT algorithm uses the look up table when creating the XML representation of the data carousel.

[0024] It will be appreciated that the present invention and its preferred features as described above can be embodied as a computer program or code components stored on a computer readable storage medium.

BRIEF DESCRIPTION OF THE DRAWINGS

[0025]FIG. 1 illustrates a generalized broadcast system;

[0026]FIG. 2 illustrates information servers for producing data carousels;

[0027]FIG. 3 illustrates schematically object/data carousel;

[0028]FIG. 4 illustrates schematically a file structure in relation to a data carousel structure;

[0029]FIG. 5 illustrates schematically conversion from object to data carousels;

[0030]FIG. 6 illustrates schematically an apparatus for embodying the present invention; and

[0031]FIG. 7 illustrates schematically conversion from object to data carousels.

[0032]FIG. 1 illustrates a broadcasting system, such as a DVB system, in which an information server is incorporated for providing various types of data file on a carousel.

DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0033] The invention will be more clearly understood from the following description, given by way of example only, with reference to the accompanying drawings.

[0034] A play-out section 2 incorporates a number of video/audio sources 4 as well as live sources 6. Data from these sources, for instance in the form of MPEG-2 transport stream packets, is fed to a multiplexer 8 and output from the play-out section 2. The multiplexed stream of data is fed to a modulator 10 for transmission, in this example, from a satellite 12. The signal is then received by an IRD such as set top box 14 of television 16. Signals from a number of other modulators 10′, 10″, etc may be fed together and transmitted to the satellite 12.

[0035] In this system, it is also possible to provide an information server 18. Just like the video/audio sources 4,6, the information server 18 provides data, for instance in the form of MPEG transport stream packets to the multiplexer 8 for insertion into the data stream for transmission. The information server may be used to broadcast any form of data, but, in particular, MHEG5 applications, HTML pages, Java applications, IRD software upgrades and other data services in the form of DSM-CC objects on data carousels.

[0036] The information server may be controlled by a host computer 20.

[0037] The arrangement of data on object or data carousels is well known in the art and, indeed, has to conform to certain standards, according to the systems in question.

[0038]FIG. 2 illustrates how one host computer may be used to control any number of information servers, each producing a number of streams.

[0039] The host, together with an information server constructs a carousel of information, for instance as illustrated in FIG. 3. Transport stream data is constructed appropriately for transmitting in rotation a series of files, directories and other objects. For instance, each page as illustrated in FIG. 3 might comprise MHEG or HTML files or Java applications. As a result, the stream produced includes each of those pages in turn.

[0040] As illustrated, it is also possible to construct sub carousels, such that on each rotation of the main carousel of pages, a particular page itself rotates through a series of sub pages.

[0041] As is well known, the output stream is arranged in a predetermined manner. For instance, for DSM-CC, appropriate DSI, DII or DDB sections are arranged and assembled in MPEG transport stream packets.

[0042] As illustrated schematically in FIG. 4, the DSI/DII/DDB sections may be constructed using raw data 28. Often, however, a user prepares files 30 and determines a required file structure for an object carousel. This must then be converted to the appropriate DSI/DII/DDB sections.

[0043] Conversion of the various files 30 and their linked inter relations into the appropriate sections is a non trivial process. It is particularly difficult to provide sections in an optimised manner for broadcast and for efficient use by the receiving equipment. A large part of the optimisation process is delivering the data in a way that the receiving equipment can load it quickly from the stream in the order that it needs.

[0044] As illustrated in FIG. 5, it is proposed that the file structure of the object carousel should be created as an XML representation. XML stands for Extensible Mark-up Language and is a general purpose language that can be used to represent any type of structured information. As illustrated in FIG. 6, a GUI (Graphical User Interface) 40 interacts with a processor 42, for instance including a memory, to enable a user to create the desired object carousel and XML representation 50. Once the desired object carousel has been created as the XML representation 50, the processor 42 then conducts a predetermined conversion so as to produce an XML representation 52 of an equivalent data carousel. At this point, the processor 42 may be used to control an output processor 44 to create the required data stream on the basis of the data carousel defined by the XML representation. In particular, the output processor 44 derives the required raw data, for instance from some storage means and arranges this into appropriate sections as defined by the XML representation of the data carousel.

[0045] In this way, a user easily achieves an appropriate data carousel according to his/her requirements as defined for the object carousel. Furthermore, the XML representation of the data carousel may be relatively easily understood by the user, particularly as compared to bit/byte representations of data carousels. By means of the GUI 40, the user is then able to modify the generated data carousel as required by modifying the XML representation 52. In comparison, making equivalent modifications of a bit/byte data carousel would be extremely difficult if not impossible for most users.

[0046] The transformation or conversion process preferably includes the following steps.

[0047] The object carousel root directory, file, directory and other object declarations are mapped directly into the data carousel document, since the declaration format is identical for object and data carousels.

[0048] The object carousel contains a sequence that lists the files, directories and other objects that are to appear in the carousel. A list of modules is defined by working sequentially through the object carousel sequence. A module is “packed” with each object in order up to the point where adding another object would make the cumulative value of the object sizes exceed the module size limit defined in the DSM-CC specification or other standards for broadcast systems as appropriate. A new module is then created until the sequence is fully completed. This algorithm makes a simple fit that can be further optimised by hand later.

[0049] A message sequence is defined with the DSI and DII messages at the beginning referring to the modules in a simple linear sequence.

[0050] As the module declarations contain objects in the order described in the object carousel sequence, a message sequence is defined where each module is simply listed in order.

[0051] The transformation algorithm is representative of methods used by DSM-CC carousel servers to generate a transport stream. The object to data carousel mechanism allows a user to fine-tune the resulting data carousel before generation of a transport stream to ensure better performance based on the rough hints from the transformed object carousel. The object-data carousel transformation mechanism also allows algorithm designers to create alternative mappings to form the basis of later hand optimisation. As a tool, the translation mechanism provides an effort saving measure that can yield considerable benefits.

[0052] In order to allow a predetermined conversion algorithm to be used, the formats of the XML representations for the object and data carousels are predetermined. This may be achieved by appropriate respective XML schemas.

[0053] The following is an example of the XML schema for the object carousel representation.

[0054] -<xsd:schema xmlns:xsd=“http://www.w3.org/2001/XMLSchema”>

[0055] -<xsd:annotation>

[0056] -<xsd:documentation>Carousel Configuration schema for Sony

[0057] MediaCaster</xsd:documentation>

[0058] </xsd:annotation>

[0059] -<!--elements-->

[0060] <xsd:element name=“carousel”type=“carouselType”/>

[0061] <xsd:element name=“root”type=“directoryType”/>

[0062] <xsd: element name=“directory”type=“directoryType”/>

[0063] <xsd:element name=“file”type=“fileType”/>

[0064] <xsd:element name=“cycle”type=“cycleType”/>

[0065] <xsd:element name=“instance”type=“instanceType”/>

[0066] <xsd:element name=“stream”type=“streamType”/>

[0067] <xsd:element name=“streamEvent”type=“streamEventType”/>

[0068] <xsd:element name=“objectSequence”type=“objectSequenceType”/>

[0069] <xsd:element name=“objectRef”type=“objectReffype”/>

[0070] <xsd:element name=“comment”type=“xsd:string”/>

[0071] -<!--types-->

[0072] -<xsd:complexType name=“carouselType”>

[0073] -<xsd:sequence>

[0074] <xsd:element ref=“comment”minOccurs=“0”/>

[0075] <xsd:element ref=“root”/>

[0076] <xsd:element ref=“objectSequence”/>

[0077] </xsd:sequence>

[0078] </xsd:complexType>

[0079] -<!-- -->

[0080] -<xsd:complexType name=“objectSequenceType”>

[0081] -<xsd:sequence>

[0082] <xsd: element ref=“comment”minOccurs=“0”/>

[0083] <xsd: element ref=“objectRef”minOccurs=“0”maxOccurs=“unbounded”/>

[0084] </xsd:sequence>

[0085] </xsd:complexType>

[0086] -<!-- -->

[0087] -<xsd:complexType name=“directoryType”>

[0088] -<xsd:sequence>

[0089] <xsd:element ref=“comment”minOccurs=“0”/>

[0090] -<xsd:choice minOccurs=“0” maxOccurs=“unbounded”>

[0091] <xsd:element ref=“file”/>

[0092] <xsd:element ref=“cycle”/>

[0093] <xsd:element ref=“directory”/>

[0094] </xsd:choice>

[0095] </xsd: sequence>

[0096] <xsd:attribute name=“name”type=“xsd:string”use=“required”/>

[0097] </xsd:complexType>

[0098] -<!-- -->

[0099] -<xsd:complexType name=“fileType”>

[0100] -<xsd:sequence>

[0101] <xsd:element ref=“comment” minOccurs=“0”/>

[0102] </xsd:sequence>

[0103] <xsd:attribute name=“name”type=“xsd: string”use=“required”/>

[0104] <xsd:attribute name=“content”type=“xsd:string”use=“required”/>

[0105] <xsd:attribute name=“immediate”type=“xsd:boolean”use=“required”/>

[0106] <xsd:attribute name=“contentType”type=“xsd:string”/>

[0107] </xsd:complexType>

[0108] -<!-- -->

[0109] -<xsd:complexType name=“cycleType”>

[0110] -<xsd:sequence>

[0111] <xsd:element ref=“comment”minOccurs=“0”/>

[0112] <xsd:element ref=“instance”maxOccurs=“unbounded”/>

[0113] </xsd:sequence>

[0114] <xsd: attribute name=“name”type=“xsd:string”use=“required”/>

[0115] </xsd:complexType>

[0116] <!-- -->

[0117] -<xsd:complexType name=“instanceType”>

[0118] -<xsd:sequence>

[0119] <xsd:element ref=“comment”minOccurs=“0”/>

[0120] </xsd:sequence>

[0121] <xsd: attribute name=“content”type=“xsd:string”use=“required”/>

[0122] <xsd: attribute name=“contentType”type=“xsd:string”/>

[0123] </xsd:complexType>

[0124] -<!-- -->

[0125] <xsd:complexType name=“streamType”abstract=“true”>

[0126] -<xsd:sequence>

[0127] <xsd:element ref=“comment”minOccurs=“0”/>

[0128] </xsd:sequence>

[0129] <xsd:attribute name=“name”type=“xsd:string”use=“required”/>

[0130] </xsd:complexType>

[0131] -<!-- -->

[0132] <xsd:complexType name=“streamEventType”abstract=“true”>

[0133] -<xsd:sequence>

[0134] <xsd:element ref=“comment”minOccurs=“0”/>

[0135] </xsd:sequence>

[0136] <xsd:attribute name=“name”type=“xsd:string”use=“required”/>

[0137] </xsd:complexType>

[0138] -<!-- -->

[0139] -<xsd:complexType name=“objectReffype”>

[0140] <xsd:sequence />

[0141] <xsd:attribute name=“path”type=“xsd:string”use=“required”/>

[0142] </xsd:complexType>

[0143] </xsd:schema>

[0144] As exemplified above, a preferred schema allows concise declaration of the hierarchical structure of files, directories and other objects in an object carousel, together with hints about the order in which they should appear in a data carousel.

[0145] An example of an appropriate XML schema for the data carousel representation is given below.

[0146] -<xsd:schema xmlns:xsd=“http://www.w3.org/2001/XMLSchema”>

[0147] -<xsd:annotation>

[0148] <xsd:documentation>Carousel Configuration schema for Sony

[0149] MediaCaster</xsd:documentation>

[0150] </xsd:annotation>

[0151] -<!-- elements-->

[0152] <xsd:element name=“carousel”type=“carouselType”/>

[0153] <xsd:element name=“root”type=“directoryType”/>

[0154] <xsd:element name=“directory”type=“directoryType”/>

[0155] <xsd:element name=“file”type=“fileType”/>

[0156] <xsd:element name=“cycle”type=“cycleType”/>

[0157] <xsd:element name=“instance”type=“instanceType”/>

[0158] <xsd:element name=“stream”type=“streamType”/>

[0159] <xsd:element name=“streamEvent”type=“streamEventType”/>

[0160] <xsd:element name=“programStreamInfo”type=“programStreamInfoType”/>

[0161] <xsd:element name=“eventStreamInfo”type=“eventStreamInfoType”/>

[0162] <xsd:element name=“event”type=“eventType”/>

[0163] <xsd:element name=“module”type=“moduleType”/>

[0164] <xsd:element name=“objectRef”type=“objectRefType”/>

[0165] >xsd:element name=“binaryContent”type=“binaryContentType”/>

[0166] <xsd:element name=“DII”type=“DIIType”/>

[0167] <xsd:element name=“moduleInfo”type=“moduleInfoType”/>

[0168] <xsd:element name=“tapList”type=“tapListType”/>

[0169] <xsd:element name=“privateData”type=“privateDataType”/>

[0170] <xsd:element name=“objectUseTap”type=“objectUseTapType”/>

[0171] <xsd:element name=“tap”type=“tapType”/>

[0172] <xsd:element name=“userInfo”type=“userInfoType”/>

[0173] <xsd:element name=“labelDescriptor”type=“labelDescriptorType”/>

[0174] <xsd: element name=“cachingPriorityDescriptor”

[0175] type=“cachingPriorityDescriptorType”/>

[0176] <xsd:element name=“descriptor”type=“descriptorType”/>

[0177] <xsd:element name=“DSI”type=“DSIType”/>

[0178] <xsd:element name=“messageSequence”type=“messageSequenceType”/>

[0179] <xsd:element name=“messageRef”type=“messageReffype”/>

[0180] <xsd:element name=“elementaryStream”type=“elementaryStreamType”/>

[0181] <xsd:element name=“comment”type=“xsd:string”/>

[0182] <!-- types-->

[0183] -<xsd:complexType name=“carouselType”>

[0184] -<xsd:sequence>

[0185] <xsd:element ref=“comment”minOccurs=“0”/>

[0186] <xsd:element ref=“root”/>

[0187] <xsd:element ref=“module”maxOccurs=“unbounded”/>

[0188] <xsd:element ref=“DII”maxOccurs=“unbounded”/>

[0189] <xsd:element ref=“DSI”/>

[0190] <xsd:element ref-“messageSequence”/>

[0191] <xsd:element ref=“elementaryStream”/>

[0192] </xsd:sequence>

[0193] </xsd:complexType>

[0194] -<xsd:complexType name=“directoryType”>

[0195] -<xsd:sequence>

[0196] <xsd: element ref=“comment”minOccurs=“0”/>

[0197] -<xsd: choice minOccurs=“0”maxOccurs=“unbounded”>

[0198] <xsd:element ref=“file”/>

[0199] <xsd:element ref=“cycle”/>

[0200] <xsd:element ref=“directory”/>

[0201] <xsd:element ref=“stream”/>

[0202] <xsd:element ref=“streamEvent”/>

[0203] </xsd:choice>

[0204] </xsd:sequence>

[0205] <xsd:attribute name=“name”type=“xsd:string”use=“required”/>

[0206] </xsd:complexType>

[0207] -<xsd:complexType name=“fileType”>

[0208] -<xsd:sequence>

[0209] <xsd:element ref=“comment”minOccurs=“0”/>

[0210] </xsd:sequence>

[0211] <xsd:attribute name=“name”type=“xsd:string”use=“required”/>

[0212] <xsd:attribute name=“content”type=“xsd:string”use=“required”/>

[0213] <xsd:attribute name=“immediate”type=“xsd:boolean”use=“required”/>

[0214] <xsd:attribute name=“contentType”type=“xsd:string”/>

[0215] </xsd:complexType>

[0216] -<!-- -->

[0217] <xsd:complexType name=“cycleType”>

[0218] -<xsd:sequence>

[0219] <xsd: element ref=“comment”minOccurs=“0”/>

[0220] <xsd:element ref=“instance”maxOccurs=“unbounded”/>

[0221] </xsd:sequence>

[0222] <xsd:attribute name=“name”type=“xsd:string”use=“required”/>

[0223] </xsd:complexType>

[0224] -<!-- -->

[0225] -<xsd:complexType name=“instanceType”>

[0226] -<xsd:sequence>

[0227] <xsd:element ref=“comment”minOccurs=“0”/>

[0228] </xsd:sequence>

[0229] <xsd:attribute name=“content”type=“xsd:string”use=“required”/>

[0230] <xsd:attribute name=“contentType”type=“xsd:string”/>

[0231] </xsd:complexType>

[0232] -<!-- -->

[0233] -<xsd:complexType name=“streamType”>

[0234] -<xsd:sequence>

[0235] <xsd:element ref=“comment”minOccurs=“0”/>

[0236] <xsd:element ref-“programStreamInfo”/>

[0237] </xsd:sequence>

[0238] <xsd: attribute name=“name”type=“xsd:string”use=“required”/>

[0239] </xsd:complexType>

[0240] -<!-- -->

[0241] -<xsd:complexType name=“streamEventType”>

[0242] -<xsd:sequence>

[0243] <xsd:element ref=“comment”minOccurs=“0”/>

[0244] <xsd:element ref=“event”maxOccurs=“unbounded”/>

[0245] <xsd:element ref=“eventStreamInfo”/>

[0246] <xsd:element ref=“programStreamInfo”/>

[0247] </xsd:sequence>

[0248] <xsd:attribute name=“name”type=“xsd:string”use=“required”/>

[0249] </xsd:complexType>

[0250] -<!-- -->

[0251] -<xsd:complexType name=“programStreamInfoType”>

[0252] <xsd:sequence />

[0253] <xsd: attribute name=“audio”type=“xsd:boolean”use=“required”/>

[0254] <xsd: attribute name=“video”type=“xsd:boolean”use=“required”/>

[0255] <xsd:attribute name=“data”type=“xsd:boolean”use=“required”/>

[0256] <xsd: attribute name=“description”type=“xsd:string”use=“required”/>

[0257] <xsd: attribute name=“durationSeconds”type=“xsd:integer”use=“required”/>

[0258] <xsd: attribute name=“durationMicroSeconds”type=“xsd:integer”use=“required”/>

[0259] <xsd: attribute name=“transportStreamID”type=“xsd:integer”use=“required”/>

[0260] <xsd:attribute name=“programNumber”type=“xsd:integer”use=“required”/>

[0261] <xsd:attribute name=“networkID”type=“xsd:integer”use=“required”/>

[0262] <xsd:attribute name=“PMTTag”type=“xsd:integer”use=“required”/>

[0263] </xsd:complexType>

[0264] -<!-- -->

[0265] <xsd:complexType name=“eventStreamInfoType”>

[0266] <xsd:sequence />

[0267] <xsd:attribute name=“pid”type=“xsd:integer”use=“required”/>

[0268] <xsd: attribute name=“bitrate”type=“xsd:integer”use=“required”/>

[0269] </xsd:complexType>

[0270] -<!-- -->

[0271] - <xsd:complexType name=“eventType”>

[0272] <xsd:sequence />

[0273] <xsd:attribute name=“name”type=“xsd:string”use=“required”/>

[0274] <xsd:attribute name=“id”type=“xsd:integer”use=“required”/>

[0275] </xsd:complexType>

[0276] -<xsd:complexType name=“moduleType”>

[0277] -<xsd:sequence>

[0278] <xsd: element ref=“comment”minOccurs=“0”/>

[0279] -<xsd:choice>

[0280] <xsd: element ref-“objectRef”minOccurs=“0”maxOccurs=“unbounded”/>

[0281] <xsd:element ref=“binaryContent”/>

[0282] </xsd:choice>

[0283] </xsd:sequence>

[0284] <xsd:attribute name=“name”type=“xsd:string”use=“required”/>

[0285] </xsd:complexType>

[0286] -<!-- -->

[0287] -<xsd:complexType name=“objectRefType”>

[0288] <xsd:sequence />

[0289] <xsd: attribute name=“path”type=“xsd:string”use=“required”/>

[0290] </xsd:complexType>

[0291] -<!-- -->

[0292] <xsd:complexType name=“binaryContentType”>

[0293] <xsd:sequence />

[0294] <xsd:attribute name=“path”type=“xsd:string”use=“required”/>

[0295] </xsd:complexType>

[0296] -<!-- -->

[0297] -<xsd:complexType name=“DIIType”>

[0298] -<xsd:sequence>

[0299] <xsd:element ref=“moduleInfo”minOccurs=“0”maxOccurs=“unbounded”/>

[0300] <xsd:element ref=“privateData”minOccurs=“0”maxOccurs=“unbounded”/>

[0301] </xsd:sequence>

[0302] <xsd:attribute name=“name”type=“xsd:string”use=“required”/>

[0303] <xsd:attribute name=“transactionID”type=“xsd:hexBinary”/>

[0304] <xsd: attribute name=“downloadID”type=“xsd:integer”/>

[0305] /xsd:complexType>

[0306] -<!-- -->

[0307] -<xsd:complexType name=“modulelnfoType”>

[0308] -<xsd:sequence>

[0309] <xsd:element ref=“tapList”/>

[0310] <xsd:element ref=“userInfo”/>

[0311] </xsd:sequence>

[0312] <xsd: attribute name=“moduleRef”type=“xsd:string”use=“required”/>

[0313] <xsd:attribute name=“moduleTimeOut”type=“xsd:hexBinary”/>

[0314] <xsd:attribute name=“blockTimeOut”type=“xsd:hexBinary”/>

[0315] <xsd: attribute name=“minBlockTime”type=“xsd:hexBinary”/>

[0316] </xsd:complexType>

[0317] -<xsd:complexType name=“tapListType”>

[0318] -<xsd:sequence>

[0319] <xsd:element ref=“objectUseTap”/>

[0320] <xsd:element ref=“tap”minOccurs=“0”maxOccurs=“unbounded”/>

[0321] </xsd:sequence>

[0322] </xsd:complexType>

[0323] -<xsd:complexType name=“objectUseTapType”>

[0324] <xsd:sequence />

[0325] <xsd:attribute name=“tag”type=“xsd:integer”/>

[0326] </xsd:complexType>

[0327] -<!-- -->

[0328] -<xsd:complexType name=“tapType”>

[0329] <xsd:sequence />

[0330] <xsd:attribute name=“id”type=“xsd:integer”/>

[0331] <xsd:attribute name=“use”type=“xsd:integer”/>

[0332] <xsd:attribute name=“tag”type=“xsd:integer”/>

[0333] </xsd:complexType>

[0334] -<!-- -->

[0335] -<xsd:complexType name=“userInfoType”>

[0336] -<xsd:sequence>

[0337] <xsd:element name=“compressedModuleDescriptor”/>

[0338] <xsd:element ref=“labelDescriptor”/>

[0339] <xsd:element ref=“cachingPriorityDescriptor”/>

[0340] <xsd:element ref-“descriptor”maxOccurs=“unbounded”/>

[0341] </xsd:sequence>

[0342] </xsd:complexType>

[0343] -<!-- -->

[0344] -<xsd:complexType name=“labelDescriptorType”>

[0345] <xsd:sequence/>

[0346] <xsd:attribute name=“label”type=“xsd:string”/>

[0347] </xsd:complexType>

[0348] -<!-- -->

[0349] -<xsd:complexType name=“cachingPriorityDescriptorType”>

[0350] <xsd:sequence/>

[0351] <xsd:attribute name=“priorityValue”type-“xsd:byte”/>

[0352] <xsd:attribute name=“transparencyLevel”type=“xsd:byte”/>

[0353] </xsd:complexType>

[0354] -<!-- -->

[0355] -<xsd:complexType name=“descriptorType”>

[0356] <xsd:sequence />

[0357] <xsd:attribute name=“tag”type=“xsd:byte”/>

[0358] </xsd:complexType>

[0359] -<!-- -->

[0360] -<xsd:complexType name=“privateDataType”>

[0361] <xsd:sequence />

[0362] </xsd:complexType>

[0363] -<!-- -->

[0364] -<xsd:complexType name=“DSIType”>

[0365] -<xsd:sequence>

[0366] <xsd:element ref=“comment”minOccurs=“0”/>

[0367] </xsd:sequence>

[0368] <xsd:attribute name=“name”type=“xsd:string”use=“required”/>

[0369] </xsd:complexType>

[0370] -<!-- -->

[0371] -<xsd:complexType name=“messageSequenceType”>

[0372] -<xsd:sequence>

[0373] <xsd:element ref=“comment”minOccurs=“0”/>

[0374] <xsd:element ref=“messageRef”minOccurs=“0” maxOccurs=“unbounded”/>

[0375] </xsd:sequence>

[0376] </xsd:complexType>

[0377] -<!-- -->

[0378] -<xsd:complexType name=“messageRefType”>

[0379] <xsd:sequence />

[0380] <xsd: attribute name=“name”type=“xsd:string”use=“required”/>

[0381] </xsd:complexType>

[0382] -<!-- -->

[0383] -<xsd:complexType name=“elementaryStreamType”>

[0384] -<xsd:sequence>

[0385] <xsd:element ref=“comment”minOccurs=“0”/>

[0386] </xsd:sequence>

[0387] <xsd: attribute name=“name”type=“xsd:string”use=“required”/>

[0388] </xsd:complexType>

[0389] -<!-- -->

[0390] </xsd:schema>

[0391] As exemplified above, a preferred schema provides a readable description of the detailed structure of a data carousel. It specifies the grouping of objects into modules, the parameters associated with modules and the order and relative frequency of DSI, DII and DDB sections in the output stream. These are all factors that can affect the performance of the broadcast at the receiving equipment and it is desirable to allow easy experimentation with these parameters in order to maximise performance.

[0392] It will, of course, be evident that other schemas could also be constructed, though, then, of course, the conversion between the XML representations would be different.

[0393] Conversion may be achieved with any appropriate algorithm defined using any desired language, such as C++.

[0394]FIG. 7 illustrates schematically a conversion process using an XSLT algorithm 54. XSLT stands for Extensible Stylesheet Language Transformation and is a language and processor that allows relatively easy development of transformations between different formats of XML. It is particularly well suited to converting XML, because the language has built-in features for interpreting and transforming XML. However, the XSLT algorithm needs to know the sizes of the files of the object carousel in order to create the appropriate data carousel XML representation. The XSLT algorithm itself is unable to determine the sizes. Therefore, an additional algorithm 56 is provided to analyse the object carousel so as to determine the size of files and provide this information as an XML look-up table 58. Thus, the XSLT conversion algorithm analyses the XML representation of the object carousel and uses information regarding file size from the XML look-up table to create the XML representation of the data carousel.

[0395] The stylesheet implements a simple module packing algorithm to transform an XML object carousel structure into a detailed XML data carousel structure. Implementation in XSLT allows convenient interpretation of the incoming XML structure and also allows flexibility about where in the system the algorithm is executed.

[0396] In addition, more sophisticated techniques for creating data carousel structures would be relatively easy to incorporate and the implementation would be easily adaptable to accommodate future changes to the object carousel and data carousel XML schemas.

[0397] The look-up table algorithm for object carousel file sizes may be implemented as a UNIX shell script. An example is given below.

[0398] #!/bin/sh

[0399] #

[0400] # Given an object carousel XML description on stdin, generate a list of

[0401] # Pathnames used by the carousel and the sizes of the corresponding

[0402] # files. The list is in XML and appears on stdout.

[0403] #

[0404] # usage: generateFileSizes carouselDir

[0405] #

[0406] # check args

[0407] if[$#!=1]; then

[0408] echo “usage:generateFileSizes carouselDir”1>&2

[0409] exit 1

[0410] fi

[0411] # temporary file

[0412] TMPFILE=generateFileSizes.$$

[0413] # where are the carousel files?

[0414] CAROUSELDIR=“$1”

[0415] # separate elements that are on the same line

[0416] # NOTE it seems to be necessary to go via a temorary file . . .

[0417] # a pipe doesn't seem to work

[0418] sed -e's/>/>Vg'>$TMPFILE

[0419] # isolate the content files that appear in the carousel

[0420] FILES=‘cat $TMPFILE|sed -n -e’s/.*content=\“\([”]*\)\“.*$Λ1/p”

[0421] # output an element listing the files and their sizes

[0422] echo “<files>”

[0423] for i in $FILES; do

[0424] # get the size of a file

[0425] SIZE=‘1s -1$CAROUSELDIR/$i|awk’{print $5}”

[0426] # output an element

[0427] echo “<file path=\”$i\“size=\”$SIZE\“/>”

[0428] done

[0429] echo “</files>”

[0430] rm $TMPFILE

[0431] This script generates an XML look-up table that maps file names used by an object carousel to the sizes of the files. References to files are extracted from an XML object carousel description and each file is examined in turn to produce a list of XML elements, each containing the name of a file and its size in bytes.

[0432] The following is an example of a look-up table:

[0433] <files>

[0434] <file path=“diddle.txt”size=“168”/>

[0435] <file path=“dingdong.txt”size=“269”/>

[0436] <file path=“kxmrain.txt”size=“423”/>

[0437] <file path=“raining.txt”size=“212”/>

[0438] <file path=“Jack/jack.txt”size=“72”/>

[0439] <file path=“Jack/jacksprat.txt”size=“124”/>

[0440] <file path=“Jack/jackjill.txt”size=“259”/>

[0441] <file path=“More/sheep.txt”size=“167”/>

[0442] <file path=“More/owl.txt”size=“1205”/>

[0443] <file path=“More/Other/dance.txt”size=“194”/>

[0444] <file path=“More/Other/goosey.txt”size=“223”/>

[0445] <file path=“More/Other/hush.txt”size=“616”/>

[0446] <file path=“More/Other/kookaburra.txt”size=“299”/>

[0447] <file path=“More/Other/mulberry.txt”size=“1409”/>

[0448] <file path=“More/Other/unicom.txt”size=“222”/>

[0449] <file path=“More/Other/georgie.txt”size=“128”/>

[0450] <file path=“More/Other/hickory.txt”size=“125”/>

[0451] <file path=“More/Other/knickknack.txt”size=“2032”/>

[0452] <file path=“More/Other/ladybird.txt”size=“189”/>

[0453] <file path=“More/Other/spider.txt”size=“210”/>

[0454] </files>

[0455] Finally, it should be appreciated that the present invention is not constrained to television systems but could be applied to any data broadcast system, based, for instance, on MPEG streams, such as DAB (Digital Audio Broadcasting) digital radio or custom broadcast applications. 

We claim:
 1. A method of creating data carousels including: representing an object carousel in a structured data format; analysing the structured data format representation of the object carousel for compatibility with at least one predetermined technical standard; creating a representation of a data carousel in the structured data format based on the step of analysing; and providing output data to a carousel according to the structured data format representation of the data carousel.
 2. A method according to claim 1 wherein the technical standards include DSM-CC standards and appropriate standards for broadcast systems.
 3. A method according to claim 1 further including: editing the structured data format representation of the data carousel before providing the data to the carousel so as to optimise the arrangement of data in the carousel.
 4. A method according to claim 1 further including: defining a data format definition for representing object carousels in the structured data format.
 5. A method according to claim 1 further including: defining a data format definition for representing data carousels in the structured data format.
 6. A method according to claim 1 wherein the structured data format is XML.
 7. A method according to claim 6 wherein the steps of analysing and creating are conducted as part of a predefined XSLT algorithm.
 8. A method according to claim 7 wherein the step of analysing further includes determining the sizes of the files of the object carousel and providing in a structured data format the sizes as a look-up table, whereby the XSLT algorithm uses the look up table in the steps of analysing and creating.
 9. An apparatus for creating data carousels, including: a memory containing a data format definition for representing object carousels in a structured data format; a memory containing a data format definition for representing data carousels in the structured data format; a GUI by which a user may create a representation of an object carousel in the structured data format; a processor for analysing the structured data format representation of the object carousel for compatibility with at least one predetermined technical standard and for creating, on the basis of the analysis, a representation in the structured data format of a data carousel according to the data format definition for the structured data format representing data carousels.
 10. An apparatus according to claim 9, wherein the standards include DSM-CC standards and appropriate standards for broadcast systems.
 11. An apparatus according to claim 9, wherein the GUI allows a user to edit the structured data format representation of the data carousel so as to optimise the arrangement of the data for use as part of a carousel.
 12. An apparatus according to claim 9 further including: an output processor for providing data to a carousel according to the structured data format representation of the data carousel.
 13. An apparatus according to claim 9 wherein the structured data format is XML.
 14. An apparatus according to claim 13 wherein the processor analyses the XML representation of an object carousel and creates the XML representation of a data carousel using a predefined XSLT algorithm.
 15. An apparatus according to claim 14 wherein the processor determines the sizes of the files of the object carousel and provides in XML the sizes as a lookup table whereby the XSLT algorithm uses the look-up table.
 16. A broadcast system including an apparatus for creating data carousels, the apparatus including: a memory containing a data format definition for representing object carousels in a structured data format; a memory containing a data format definition for representing data carousels in the structured data format; a GUI by which a user may create a representation of an object carousel in the structured data format; a processor for analysing the structured data format representation of the object carousel for compatibility with at least one predetermined technical standard and for creating, on the basis of the analysis, a representation in the structured data format of a data carousel according to the data format definition for the structured data format representing data carousels.
 17. A computer readable storage medium having recorded thereon code components that, when loaded on a computer and executed, will cause that computer to operate according to claim
 1. 18. A computer program having code components that, when loaded on a computer and executed, will cause that computer to operate according to claim
 1. 